#! /bin/sh

tenacitas=~/Desenvolvimento/tenacitas/cpp/

# konsole --workdir $tenacitas/src --new-tab -p LocalTabTitleFormat="src"

# konsole --workdir $tenacitas/bin --new-tab -p LocalTabTitleFormat="bin"

# konsole --workdir $tenacitas/tool/gmake --new-tab -p LocalTabTitleFormat="tool"

# konsole --workdir $base --new-tab -p LocalTabTitleFormat="repo"

# konsole --workdir $base/build --new-tab -p LocalTabTitleFormat="build"

# konsole --workdir /var/tmp --new-tab -p LocalTabTitleFormat="general"

#title=`zenity --entry --text="Qual projeto?"`

tmp=`zenity --filename=$tenacitas/prj/gmake/tenacitas --file-selection --directory --text="Selecione o projeto"`

project=`basename $tmp`

#cd $tenacitas/tool/gmake

#make project=$project emacs

#cd $tenacitas/code/src/$project

# --geometry 63x83+0+0
emacs -fh -T $project $tenacitas/prj/tenacitas/build_system/makefile
